package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.TravelComment;
import cn.wolfcode.trip.base.query.TravelCommentQueryObject;

import java.util.List;

public interface TravelCommentMapper {
    int deleteByPrimaryKey(Long id);
    int insert(TravelComment record);
    TravelComment selectByPrimaryKey(Long id);
    List<TravelComment> selectAll();
    int updateByPrimaryKey(TravelComment record);
    void saveTravelComment(TravelComment travelComment);
    List<TravelComment> selectForList(TravelCommentQueryObject qo);
    Object selectCountById(Long id);

    void setRead(Long id);
}